package com.neu.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import com.neu.entity.Disease;




@Service
public interface DiseaseService {
	public List<Disease> getdiseaseInfo(@Param("diseCategoryID") int diseCategoryID,@Param("page") int page,@Param("limit") int limit);
//	查询总数用于分页
	public int getdiseaseInfoTotal(@Param("diseCategoryID") int diseCategoryID);
	
	public boolean addDisease(Disease disease);
	
	public boolean delDiseaseByIds(@Param("ids") Integer[] ids);
	
	public boolean updateDisease(Disease disease);
//	查询该疾病分类下的 疾病id 返回 Integer[]
	public Integer[] getDiseaseIds(@Param("diseCategoryID") int diseCategoryID);
	
}
